package com.example.gzysmartcity.repository.model;

import java.io.Serializable;

public class News implements Serializable {
    private String imgUrl;
    private String title;
    private String content;
    private int time;
    private String author;
    private String html;
    private int id;
    public String getImgUrl() {
        return imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public String getContent() {
        return content;
    }

    public int getTime() {
        return time;
    }

    public String getAuthor() {
        return author;
    }

    public String getHtml() {
        return html;
    }

    public int getId() {
        return id;
    }

    public News(String imgUrl, String title, String content, int time, String author, String html, int id) {
        this.imgUrl = imgUrl;
        this.title = title;
        this.content = content;
        this.time = time;
        this.author = author;
        this.html=html;
        this.id=id;
    }
}
